//
//  NewsDetailTableViewCell.m
//  kr_36
//
//  Created by lmt on 16/1/25.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "NewsDetailTableViewCell.h"

@implementation NewsDetailTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.tu = [[UIImageView alloc] init];
        [self.contentView addSubview:_tu];
        [_tu release];
        
        self.title = [[UILabel alloc] init];
        [self.contentView addSubview:_title];
        [_title release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    _tu.frame = CGRectMake(5, 5, 80, 80);
    
    _title.frame = CGRectMake(90, 20, self.contentView.frame.size.width - 100, 40);
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
